package com.danskin.wechat.service;

import java.util.List;
import java.util.Map;

import com.danskin.wechat.entity.ActivityApply;
import com.danskin.wechat.entity.ActivityApplyConfig;
import com.danskin.wechat.entity.ActivityMiddle;
import com.danskin.wechat.entity.CustActivityApply;
import com.danskin.wechat.entity.VipActivity;
import com.danskin.wechat.entity.VipOption;
import com.danskin.wechat.entity.VipVote;
import com.danskin.wechat.util.Page;

public interface VipActivityService {

	List<VipActivity> findVipActivityList(Page page);

	

	void insertVipActivity(VipActivity vipActivity);

	void updateVipActivity(VipActivity vipActivity);

	VipActivity findVipActivitybyId(String id);

	int saveVipVote(VipVote vipVote);

	void saveVipOption(VipOption vipOption);

	void saveEnrrollVipActivity(VipActivity vipActivity);

	List<ActivityApplyConfig> findActivityApplyConfig();

	void insertActivityApply(ActivityApply activityApply);

	void deleteActivityApply(String activityId);

	ActivityApply queryActivityApply();

	void insertActivityMiddle(ActivityMiddle activityMiddle);

	List<CustActivityApply> queryCostActivityApply(CustActivityApply custActivityApply);

	List<ActivityApply> findActivityApply(String activityId);

	List<CustActivityApply> queryActivityMiddleColumn(String activityId, String column);

	void deleteActivityMiddle(String activityId);

	List<ActivityMiddle> findActivityMiddleList(Page page);

	void deleteActivityMiddleTJ(String id);

	List<ActivityMiddle> getActivityMiddleExecl(String activityId, String title);

	List<VipActivity> findVipActivityListAPI(Page page);

	List<VipActivity> queryVipActivityList(Page page);

	VipActivity queryVipActivityDetails(String id, String appId, String openId);

	List<VipActivity> findGoOverVipActivity(Page page);

	List<VipActivity> findVipActivityAll(Page page);

	List<VipActivity> queryVipActivityCount(List<Integer> listId);

	List<VipActivity> fintVipActivityAll();

	void updateVipActivityState(List<Integer> idList);
	
	
	/**
	 * 增加凝集日记录
	 */
	int saveNingActivity(VipActivity vipActivity);
	
	
	/**
	 * 删除VIPActivity
	 */
	int deleteVipActivity(Integer id);
	
	
	/**
	 * 修改报名活动
	 */
	int updateApplyActivity(VipActivity vipActivity);
	
	/**
	 * 根据主键查询vipActivity
	 */
	VipActivity selectVipActivityByPrimaryKey(Integer id);
	
	
	

	

}
